using System;
using UnityEngine;

public class BMRecycler : MonoBehaviour
{
	public bool IsPrepared
	{
		get
		{
			return this.State == RECYCLE_STATE.PREPARED && this.IsRecycleable;
		}
	}

	public virtual bool IsRecycleable
	{
		get
		{
			return !base.gameObject.activeSelf;
		}
	}

	public virtual void Release()
	{
		base.gameObject.SetActive(false);
	}

	public virtual void Reset()
	{
		base.gameObject.SetActive(true);
	}

	public RECYCLE_STATE State = RECYCLE_STATE.PREPARED;
}
